import axios from '@/libs/api.request'

export const getList = info => {
  return axios.request({
    url: 'ball/getList',
    data: info,
    method: 'post'
  })
}


export const add = info => {
  return axios.request({
    url: 'ball/add',
    data: info,
    method: 'post'
  })
}

export const put = info => {
  return axios.request({
    url: 'ball/edit',
    data: info,
    method: 'post'
  })
}

export const del = info => {
  return axios.request({
    url: 'ball/delete',
    data: info,
    method: 'post'
  })
}

export const getBallSessions = info => {
  return axios.request({
    url: 'ball/getBallSessions',
    data: info,
    method: 'post'
  })
}


 
